package com.zero.youxiao.dto;

import java.util.List;


public class MenuDto {

	private int id;
	private String icon;
	private String name;
	private String link;
	private Integer parent;
	
	private List<MenuDto> subMenus;
	
	public MenuDto(){}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public Integer getParent() {
		return parent;
	}

	public void setParent(Integer parent) {
		this.parent = parent;
	}


	public List<MenuDto> getSubMenus() {
		return subMenus;
	}

	public void setSubMenus(List<MenuDto> subMenus) {
		this.subMenus = subMenus;
	}

	@Override
	public String toString() {
		return "MenuDto [id=" + id + ", icon=" + icon + ", name=" + name
				+ ", link=" + link + ", parent=" + parent + ", subMenus="
				+ subMenus + "]";
	}

	
}
